package org.springblade.pm.service;

import org.springblade.core.mp.base.BaseService;
import org.springblade.core.tool.api.R;
import org.springblade.pm.entity.Active;

import java.util.List;
import java.util.Map;

public interface IActiveService extends BaseService<Active> {
	/**
	 * 获取附件信息
	 * @param id
	 * @return
	 */
	List<Map<String,Object>> getFile(Integer id);


	/**
	 * 获取活动列表
	 * @param params
	 * @return
	 */
	List<Map<String,Object>> activeList(Map<String,Object> params);

	Boolean updateActiveStatus(Integer id, String activeStatus);
}
